package filereaders;

public class TxtParseManager extends ParseManager {
    
    /**
     * @author Paul Dannenberg -I HAVE REMOVED THIS CLASS FROM THE CURRENT DESIGN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     * @param filename The file to be parsed.
     */
    public TxtParseManager(String filename) {
        super(filename);
        createParsers(filename);        
    }

    /**
     * Loads the different .txt parsers that ParseManager
     * will attempt to Parse. Any new .txt parsers can 
     * simply be loaded into this method and they will 
     * attempt to parse filename when parsing methods are
     * called.
     * @param filename The file to be parsed. 
     */
    private void createParsers(String filename) {
        addParser(new TxtColumnParser(filename));
        addParser(new TxtRowParser(filename));
    }
}
